KERNEL_TYPES

Section: SOS CLASS LIBRARY (3S)
Updated: 28/10/91
Index Return to Main Contents
man2html: unable to open or read file /usr/lib/ms/ms.acc
 

NAME

void, sos_Bool, sos_Char, sos_Comp_result, sos_Cstring, sos_Eq_kind, sos_Id, sos_Int, sos_Offset, sos_Pointer - predefined scalar types  

SYNOPSIS

#include "<SOS>/include/knl_ext.h"

extern void (0);

extern sos_Int (4);
extern sos_Char (1);

extern sos_Cstring (4);
extern sos_Pointer (4);

extern sos_Container (4);
extern sos_Offset (8);

extern sos_Id (8);

enum sos_Bool        { FALSE, TRUE };
enum sos_Eq_kind     { EQ_STRONG, EQ_WEAK };
enum sos_Comp_result { CMP_LESS, CMP_EQUAL, CMP_GREATER };
 

DESCRIPTION

The above listed scalar types are defined by the SOS kernel schema. The external type sos_Container is described elsewhere.

void
A type with no value, used to indicate functions returning nothing.
sos_Int
The type sos_Int represents integer numbers (in two's complement form).
sos_Char
The type sos_Char represents one byte ASCII characters.
sos_Cstring
A pointer to a successive number of sos_Char objects whose end is indicated by the ASCII control character NUL. Values of type sos_Cstring should not be stored in the persistent database.
sos_Pointer
A pointer to a memory address. Values of type sos_Pointer should not be stored in the persistent database.
sos_Offset
The offset into a container, where an object is stored.
sos_Id
The type sos_Id represents an untyped object reference.
sos_Bool
The enumeration type sos_Bool represents the boolean truth values.
sos_Comp_result
The enumeration type sos_Comp_result represents the result of a comparison operation.
sos_Eq_kind
The enumeration type sos_Eq_kind is used to specify the kind of equality, the predefined method equal is to check.
 

FILES

<SOS>/src/knl/knl.sos
SOS schema file

<SOS>/src/knl/knl_sos.h
complete schema interface

<SOS>/src/knl/knl_use.h
restricted schema interface

<SOS>/src/knl/knl_ext.h
definition of external types (automatically included by knl_use.h)

<SOS>/src/knl/knl.c
implementation of conversion operations for the external types

<SOS>/lib/sos.a
SOS library
 

SEE_ALSO

sos_Object(3), sos_Ordered_object(3), sos_Container(3)  

AUTHOR

Dietmar Theobald


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE_ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 00:37:57 GMT, March 30, 2022